#if 1
#include "stdio.h"

int main(){
	static char s[] = "ABCDEFGHJKLMN";
	double x = 1.2345678;
	printf("r1:%20.10s\n",s);
        printf("r2:%-20.10s\n",s);
        printf("r3:%f\n",x);
        printf("r4:%10.2f\n",x);
        printf("r5:%-10.2f\n",x);
        printf("r6:%010.2f\n",x);
        printf("r7:%e\n",x);
        printf("r8:%g\n",x);
	return 0;
}
#endif
